package com.xiaoyu.awakening.user.controller;

import com.xiaoyu.awakening.common.core.dto.Page;
import com.xiaoyu.awakening.common.core.dto.Result;
import com.xiaoyu.awakening.user.api.IDepartmentControllerApi;
import com.xiaoyu.awakening.user.dto.DepartmentDto;
import com.xiaoyu.awakening.user.dto.req.CreateDepartmentReq;
import com.xiaoyu.awakening.user.dto.req.SearchUserReq;
import com.xiaoyu.awakening.user.dto.req.UpdateDepartmentReq;
import lombok.extern.log4j.Log4j2;
import org.springframework.web.bind.annotation.RestController;

/**
 * 部门管理API
 *
 * @author wangxiaoyu
 * @since v1.0
 */
@Log4j2
@RestController
public class DepartmentController implements IDepartmentControllerApi {

    @Override
    public Result<DepartmentDto> create(CreateDepartmentReq createDepartmentReq) {
        return null;
    }

    @Override
    public Result<String> delete(Long id) {
        return null;
    }

    @Override
    public Result<DepartmentDto> update(UpdateDepartmentReq updateRoleReq) {
        return null;
    }

    @Override
    public Result<Page<DepartmentDto>> search(SearchUserReq searchUserReq) {
        return null;
    }

    @Override
    public Result<DepartmentDto> details(Long id) {
        return null;
    }
}
